/*
package headListDesignPatterns.duckDemo;

import headListDesignPatterns.duckDemo.behavior.behaviorImpl.FlyWithWings;
import headListDesignPatterns.duckDemo.behavior.behaviorImpl.Quack;

import java.security.PublicKey;

public class MallardDuck extends Duck{

    public MallardDuck() {
        if(TestFlag.flag){
            System.out.println(3333);
        }
        setQuackBehavior(new Quack());
        if(TestFlag.flag){
            System.out.println(4444);
        }
        setFlyBehavior(new FlyWithWings());
*/
/*        quackBehavior= new Quack();
        flyBehavior=new FlyWithWings();*//*


    }
    @Override
    public void display(){
        System.out.println("i am a real Malard duck");
    }
}
*/
